package com.bridgeintelligent.tag.constants;

import com.wayneleo.quickstart.framework.ExceptionCode;

public interface ExceptionCodes {
    ExceptionCode WORKFLOW_20001 = new ExceptionCode(20001, "非法流程实例状态!!");
    ExceptionCode WORKFLOW_20002 = new ExceptionCode(20002, "找不到对应的流程实例[{}]");
    ExceptionCode WORKFLOW_20003 = new ExceptionCode(20003, "找不到对应的流程定义[{}]");
    ExceptionCode WORKFLOW_20004 = new ExceptionCode(20004, "试图修改流程实例[{}]的所属人为[{}]");
    ExceptionCode WORKFLOW_20005 = new ExceptionCode(20005, "流程实例[{}]已经结束，不能被再次审批");
    ExceptionCode WORKFLOW_20006 = new ExceptionCode(20006, "用户[{}]没有修改流程[{}]的权限");
    ExceptionCode WORKFLOW_20007 = new ExceptionCode(20007, "资源[{}]已存在且还未结束");

    ExceptionCode USER_30001 = new ExceptionCode(30001, "用户名已存在!");
    ExceptionCode USER_30002 = new ExceptionCode(30002, "文件不存在!");
    ExceptionCode USER_30003 = new ExceptionCode(30003, "文件不是excel文件!");
    ExceptionCode USER_30004 = new ExceptionCode(30004, "用户名长度超出限制");
    ExceptionCode USER_30005 = new ExceptionCode(30005, "请上传正确用户UM号的文件!");
    ExceptionCode USER_30006 = new ExceptionCode(30006, "员工号已存在!");
    ExceptionCode USER_30007 = new ExceptionCode(30007, "员工号不能为空!");
    ExceptionCode USER_30008 = new ExceptionCode(30008, "非法请求！");
    ExceptionCode ROLE_40001 = new ExceptionCode(40001, "角色名称重复，请求改角色名称后重新提交!");
    ExceptionCode ROLE_40002 = new ExceptionCode(40002, "角色名长度超出限制");

    ExceptionCode SECURITY_50001 = new ExceptionCode(50001, "Unable to acquire account data {}");
    ExceptionCode SECURITY_50002 = new ExceptionCode(50002, "code[{}]不能转换为Permission对象");
    ExceptionCode SECURITY_50003 = new ExceptionCode(50003, "用户未登录");
    ExceptionCode SECURITY_50004 = new ExceptionCode(50004, "用户名或密码错误");
    ExceptionCode SECURITY_50005 = new ExceptionCode(50005, "用户名或密码错误");
    ExceptionCode SECURITY_50006 = new ExceptionCode(50006, "用户没有权限访问");
    ExceptionCode SECURITY_50007 = new ExceptionCode(50007, "操作太频繁，请一分钟后再试");

    ExceptionCode SECURITY_60001 = new ExceptionCode(60001, "数据跑批中，不可提交！");

    ExceptionCode EXPORT_70001 = new ExceptionCode(70001, "请上传正确的基础标签文件!");
    ExceptionCode EXPORT_70002 = new ExceptionCode(70002, "请上传正确的标签项文件!");
    ExceptionCode EXPORT_70003 = new ExceptionCode(70003, "标签项对应的标签不存在!");
    ExceptionCode EXPORT_70005 = new ExceptionCode(70005, "上传模板无内容，请重新上传");
    ExceptionCode EXPORT_70006 = new ExceptionCode(70006, "基础标签的一级目录不能为空!");

    ExceptionCode CUSTOMERS_80001 = new ExceptionCode(80001, "客群名称超出长度限制!");
    ExceptionCode CUSTOMERS_80002 = new ExceptionCode(80002, "客群名称已经存在!");
    ExceptionCode CUSTOMERS_80003 = new ExceptionCode(80002, "请配置筛选条件!");
    ExceptionCode CUSTOMERS_80004 = new ExceptionCode(80004, "请按要求输入参数");
    ExceptionCode CUSTOMERS_80005 = new ExceptionCode(80005, "渠道id已存在");
    ExceptionCode CUSTOMERS_80006 = new ExceptionCode(80006, "该渠道正在被分享,不能删除");
    ExceptionCode CUSTOMERS_80007 = new ExceptionCode(80007, "客群导出名称不能重复");

    ExceptionCode DIMFREE_90001 = new ExceptionCode(90001, "被授权用户已有该权限");
    ExceptionCode DIMFREE_90002 = new ExceptionCode(90002, "您自己本身并没有该权限");
    ExceptionCode DIMFREE_90003 = new ExceptionCode(90003, "该标签正在被使用");
    ExceptionCode DIMFREE_90004 = new ExceptionCode(90004, "该标签正在使用中,请停用后再删除");
    ExceptionCode DIMFREE_90005 = new ExceptionCode(90005, "{}标签已被停用");

    ExceptionCode COMBINATION_80001 = new ExceptionCode(80011, "组合标签名称超出长度限制!");
    ExceptionCode COMBINATION_80002 = new ExceptionCode(80012, "组合标签名称已经存在!");
    ExceptionCode COMBINATION_80003 = new ExceptionCode(80013, "请配置筛选条件!");
    ExceptionCode COMBINATION_80004 = new ExceptionCode(80014, "请按要求输入参数");

}
